<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"
%><%@ page import="com.fefa.coins.domain.ConsultasColeccion"
%><%@ page import="com.fefa.coins.html.CommonHTML"
%><%!
	private final static String [] menuOptions = { 
		"Lincon Cents (1960 - 1979)",
		"Lincon Cents (1980 - 1999)",
		"Lincon Cents (2000 - ....)",
		"Jefferson Nickels (1960 - 1979)",
		"Jefferson Nickels (1980 - 1999)",
		"Jefferson Nickels (2000 - ....)",
		"Roosevelt Dimes (1960 - 1979)",
		"Roosevelt Dimes (1980 - 1999)",
		"Roosevelt Dimes (2000 - ....)",
		"Quarters (Barber Quarters)",
		"Quarters (1960 - 1979)",
		"Quarters (1980 - 1998)",
		"Quarters (State Quarters)",
		"Kennedy Half Dollars (1960 - 1979)",
		"Kennedy Half Dollars (1980 - 1998)",
		"Kennedy Half Dollars (2000 - ....)",
		"Dollars (Eisenhower, Susan B. Anthony, ...)",
		"Dollars (Sacagawea)",
		"Dollars (Presidentes)"
	};
%><%
	String path = request.getContextPath();

//TODO - Aquí hay que verificar el usuario
Integer idSocio = new Integer(1);

	int opcion = 0;
	if (null != request.getParameter("opcion"))
		opcion = Integer.parseInt((String)request.getParameter("opcion"));
%><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<%=CommonHTML.buildHead(path, "EEUU")%>
	<body>
		<%=CommonHTML.buildHeader(path, CommonHTML.MENU_EEUU) %>

		<div id="wrapper"><!-- start page -->
			<div id="page"><!-- start content -->
				<div id="content">
					<div class="seccion">
						<%=ConsultasColeccion.buildPaisTitle(new Integer(2), menuOptions[opcion], path) %>
						<div class="entry">
<%=ConsultasColeccion.getUSACoins(idSocio, opcion, path) 
%>						</div> <!-- Entry -->
					</div> <!-- Post -->
				</div> <!-- Content -->

				<div id="sidebar1" class="sidebar">
					<ul>
<%=ConsultasColeccion.seleccionSocio(idSocio) %>					
						<li>
							<h2>Lincon Cents</h2>
							<ul>
								<li><a href="<%=path%>/jsps/Usa.jsp?opcion=0">1960 - 1979</a>
								<li><a href="<%=path%>/jsps/Usa.jsp?opcion=1">1980 - 1999</a>
								<li><a href="<%=path%>/jsps/Usa.jsp?opcion=2">2000 - ....</a>
							</ul>
						</li>
						<li>
							<h2>Jefferson Nickels</h2>
							<ul>
								<li><a href="<%=path%>/jsps/Usa.jsp?opcion=3">1960 - 1979</a>
								<li><a href="<%=path%>/jsps/Usa.jsp?opcion=4">1980 - 1999</a>
								<li><a href="<%=path%>/jsps/Usa.jsp?opcion=5">2000 - ....</a>
							</ul>
						</li>
						<li>
							<h2>Roosevelt Dimes</h2>
							<ul>
								<li><a href="<%=path%>/jsps/Usa.jsp?opcion=6">1960 - 1979</a>
								<li><a href="<%=path%>/jsps/Usa.jsp?opcion=7">1980 - 1999</a>
								<li><a href="<%=path%>/jsps/Usa.jsp?opcion=8">2000 - ....</a>
							</ul>
						</li>
						<li>
							<h2>Quarters</h2>
							<ul>
								<li><a href="<%=path%>/jsps/Usa.jsp?opcion=9">Barber Quarters</a>
								<li><a href="<%=path%>/jsps/Usa.jsp?opcion=10">1960 - 1979</a>
								<li><a href="<%=path%>/jsps/Usa.jsp?opcion=11">1980 - 1998</a>
								<li><a href="<%=path%>/jsps/Usa.jsp?opcion=12">State Quarters</a>
							</ul>
						</li>
						<li>
							<h2>Kennedy Half Dollars</h2>
							<ul>
								<li><a href="<%=path%>/jsps/Usa.jsp?opcion=13">1960 - 1979</a>
								<li><a href="<%=path%>/jsps/Usa.jsp?opcion=14">1980 - 1998</a>
								<li><a href="<%=path%>/jsps/Usa.jsp?opcion=15">2000 - ....</a>
							</ul>
						</li>
						<li>
							<h2>Dollars</h2>
							<ul>
								<li><a href="<%=path%>/jsps/Usa.jsp?opcion=16">Eisenhower, Susan B. Anthony, ...</a>
								<li><a href="<%=path%>/jsps/Usa.jsp?opcion=17">Sacagawea</a>
								<li><a href="<%=path%>/jsps/Usa.jsp?opcion=18">Presidentes</a>
							</ul>
						</li>
					</ul>
				</div> <!-- Sidebar -->

				<div style="clear: both;">&nbsp;</div>
			</div> <!--  content -->
		<!-- Wrapper -->
		<%=CommonHTML.buildFooter() %>
	</body>
</html>
